app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
↳ QTRS
↳ Overlay + Local Confluence
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
APP(app(gtr, app(s, x)), app(s, y)) → APP(gtr, x)
APP(app(d, app(s, x)), app(s, y)) → APP(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
APP(app(filter, p), app(app(cons, x), xs)) → APP(p, x)
APP(app(sub, app(s, x)), app(s, y)) → APP(app(sub, x), y)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(filter, p), xs)
APP(app(d, app(s, x)), app(s, y)) → APP(app(sub, y), x)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(cons, x), app(app(filter, p), xs))
APP(app(d, app(s, x)), app(s, y)) → APP(app(d, app(s, x)), app(app(sub, y), x))
APP(len, app(app(cons, x), xs)) → APP(s, app(len, xs))
APP(app(d, app(s, x)), app(s, y)) → APP(app(if, app(app(gtr, x), y)), false)
APP(app(filter, p), app(app(cons, x), xs)) → APP(if, app(p, x))
APP(app(d, app(s, x)), app(s, y)) → APP(if, app(app(gtr, x), y))
APP(app(d, app(s, x)), app(s, y)) → APP(app(gtr, x), y)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs)))
APP(app(d, app(s, x)), app(s, y)) → APP(sub, y)
APP(len, app(app(cons, x), xs)) → APP(len, xs)
APP(app(sub, app(s, x)), app(s, y)) → APP(sub, x)
APP(app(d, app(s, x)), app(s, y)) → APP(gtr, x)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
APP(app(gtr, app(s, x)), app(s, y)) → APP(app(gtr, x), y)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP(app(gtr, app(s, x)), app(s, y)) → APP(gtr, x)
APP(app(d, app(s, x)), app(s, y)) → APP(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
APP(app(filter, p), app(app(cons, x), xs)) → APP(p, x)
APP(app(sub, app(s, x)), app(s, y)) → APP(app(sub, x), y)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(filter, p), xs)
APP(app(d, app(s, x)), app(s, y)) → APP(app(sub, y), x)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(cons, x), app(app(filter, p), xs))
APP(app(d, app(s, x)), app(s, y)) → APP(app(d, app(s, x)), app(app(sub, y), x))
APP(len, app(app(cons, x), xs)) → APP(s, app(len, xs))
APP(app(d, app(s, x)), app(s, y)) → APP(app(if, app(app(gtr, x), y)), false)
APP(app(filter, p), app(app(cons, x), xs)) → APP(if, app(p, x))
APP(app(d, app(s, x)), app(s, y)) → APP(if, app(app(gtr, x), y))
APP(app(d, app(s, x)), app(s, y)) → APP(app(gtr, x), y)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs)))
APP(app(d, app(s, x)), app(s, y)) → APP(sub, y)
APP(len, app(app(cons, x), xs)) → APP(len, xs)
APP(app(sub, app(s, x)), app(s, y)) → APP(sub, x)
APP(app(d, app(s, x)), app(s, y)) → APP(gtr, x)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
APP(app(gtr, app(s, x)), app(s, y)) → APP(app(gtr, x), y)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP(len, app(app(cons, x), xs)) → APP(len, xs)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP(len, app(app(cons, x), xs)) → APP(len, xs)
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
len1(cons(x, xs)) → len1(xs)
if(true, x0, x1)
if(false, x0, x1)
sub(x0, 0)
sub(s(x0), s(x1))
gtr(0, x0)
gtr(s(x0), 0)
gtr(s(x0), s(x1))
d(x0, 0)
d(s(x0), s(x1))
len(nil)
len(cons(x0, x1))
filter(x0, nil)
filter(x0, cons(x1, x2))
if(true, x0, x1)
if(false, x0, x1)
sub(x0, 0)
sub(s(x0), s(x1))
gtr(0, x0)
gtr(s(x0), 0)
gtr(s(x0), s(x1))
d(x0, 0)
d(s(x0), s(x1))
len(nil)
len(cons(x0, x1))
filter(x0, nil)
filter(x0, cons(x1, x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
len1(cons(x, xs)) → len1(xs)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
APP(app(gtr, app(s, x)), app(s, y)) → APP(app(gtr, x), y)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QDP
↳ QDP
APP(app(gtr, app(s, x)), app(s, y)) → APP(app(gtr, x), y)
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ QDP
gtr1(s(x), s(y)) → gtr1(x, y)
if(true, x0, x1)
if(false, x0, x1)
sub(x0, 0)
sub(s(x0), s(x1))
gtr(0, x0)
gtr(s(x0), 0)
gtr(s(x0), s(x1))
d(x0, 0)
d(s(x0), s(x1))
len(nil)
len(cons(x0, x1))
filter(x0, nil)
filter(x0, cons(x1, x2))
if(true, x0, x1)
if(false, x0, x1)
sub(x0, 0)
sub(s(x0), s(x1))
gtr(0, x0)
gtr(s(x0), 0)
gtr(s(x0), s(x1))
d(x0, 0)
d(s(x0), s(x1))
len(nil)
len(cons(x0, x1))
filter(x0, nil)
filter(x0, cons(x1, x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
gtr1(s(x), s(y)) → gtr1(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
APP(app(sub, app(s, x)), app(s, y)) → APP(app(sub, x), y)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QDP
APP(app(sub, app(s, x)), app(s, y)) → APP(app(sub, x), y)
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
sub1(s(x), s(y)) → sub1(x, y)
if(true, x0, x1)
if(false, x0, x1)
sub(x0, 0)
sub(s(x0), s(x1))
gtr(0, x0)
gtr(s(x0), 0)
gtr(s(x0), s(x1))
d(x0, 0)
d(s(x0), s(x1))
len(nil)
len(cons(x0, x1))
filter(x0, nil)
filter(x0, cons(x1, x2))
if(true, x0, x1)
if(false, x0, x1)
sub(x0, 0)
sub(s(x0), s(x1))
gtr(0, x0)
gtr(s(x0), 0)
gtr(s(x0), s(x1))
d(x0, 0)
d(s(x0), s(x1))
len(nil)
len(cons(x0, x1))
filter(x0, nil)
filter(x0, cons(x1, x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
sub1(s(x), s(y)) → sub1(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
APP(app(d, app(s, x)), app(s, y)) → APP(app(d, app(s, x)), app(app(sub, y), x))
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
APP(app(d, app(s, x)), app(s, y)) → APP(app(d, app(s, x)), app(app(sub, y), x))
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
d1(s(x), s(y)) → d1(s(x), sub(y, x))
sub(x, 0) → x
sub(s(x), s(y)) → sub(x, y)
if(true, x0, x1)
if(false, x0, x1)
sub(x0, 0)
sub(s(x0), s(x1))
gtr(0, x0)
gtr(s(x0), 0)
gtr(s(x0), s(x1))
d(x0, 0)
d(s(x0), s(x1))
len(nil)
len(cons(x0, x1))
filter(x0, nil)
filter(x0, cons(x1, x2))
if(true, x0, x1)
if(false, x0, x1)
gtr(0, x0)
gtr(s(x0), 0)
gtr(s(x0), s(x1))
d(x0, 0)
d(s(x0), s(x1))
len(nil)
len(cons(x0, x1))
filter(x0, nil)
filter(x0, cons(x1, x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPOrderProof
↳ QDP
d1(s(x), s(y)) → d1(s(x), sub(y, x))
sub(x, 0) → x
sub(s(x), s(y)) → sub(x, y)
sub(x0, 0)
sub(s(x0), s(x1))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
d1(s(x), s(y)) → d1(s(x), sub(y, x))
POL(0) = 0
POL(d1(x1, x2)) = x2
POL(s(x1)) = 1 + x1
POL(sub(x1, x2)) = x1
sub(x, 0) → x
sub(s(x), s(y)) → sub(x, y)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
sub(x, 0) → x
sub(s(x), s(y)) → sub(x, y)
sub(x0, 0)
sub(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
APP(app(filter, p), app(app(cons, x), xs)) → APP(p, x)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(filter, p), xs)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
APP(app(filter, p), app(app(cons, x), xs)) → APP(p, x)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(filter, p), xs)
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
From the DPs we obtained the following set of size-change graphs: